﻿using System;
using System.Collections.Generic;
using System.Text;
using Top.Api.Stream.Message;
using Top.Api.Stream.Connect;

namespace Top.Api.Stream
{
   public interface ITopCometStream
    {
        void setConnectionListener(IConnectionLifeCycleListener connectionLifeCycleListener);
        void setMessageListener(ITopCometMessageListener cometMessageListener);
        void start();
        void stop();
    }
}
